Naming Conventions

Graphics32 introduces several routines (as well as some class properties and methods) which have similar action but may have different arguments or other realization details.

They follow a simple naming convention:

Postfix Details Example
none
Property or method does not perform any range checking of its arguments. All the coordinates should be valid.
Line
S
'Safe' version. Validates coordinates. If necessary, clipping is performed.
LineS
T
'Transparent' version of the method. Uses the alpha channel of the provided color to blend the drawn primitive with the background pixels.
LineT
A
Methods with 'A' postfix provide antialiasing of the drawn primitive.
LineA
X
These functions operate with coordinates in TFixed format. They automatically provide antialiasing.
LineX
F
Methods with 'F' postfix take coordinates as floating point arguments and perform antialiasing of the drawn primitive.
LineF
TS, AS, XS, FS
Valid combinations of postfixes described above.
LineFS
P
'Pattern' version. Usually combined with TS or FS postfixes, it allows for implementation of various effects, like gradient or dashed lines (See Line Patterns).
LineFSP

See Also

Changes, Contacts, Donate, Features, License, Line Patterns